package com.example.demo.controller;


import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController

public class HelloController {

    @GetMapping("/")
    public String index() {
        return "Greetings from Spring Boot!";
    }


    @GetMapping("api/works/category")
    public String index11() {


        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("/auth/register")
    public String index112() {


//        param: {
//            mobile: '',
//                    password: '',
//                    password_confirmation: '',
//                    verification_code: '',
//                    invitation_code: ''
//        },

//        返回
//        (data.token)


        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("/sms/send")
    public String index1132() {


//        param: {
//            mobile: '',
//                    password: '',
//                    password_confirmation: '',
//                    verification_code: '',
//                    invitation_code: ''
//        },

//        返回
//        (data.token)


        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }


    @PostMapping("/auth/login")
    public String index1136() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("/user")
    public String index11366() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }


    @PostMapping("/auth/password")
    public String index113663() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("/user/update")
    public String index1136633() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("/auth/forget")
    public String index11366333() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }


    @PostMapping("/auth/change/mobile")
    public String index113663333() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("/auth/password/second")
    public String index1136633333() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @PostMapping("api/auth/login")
    public String index113663333363() {

        return "{\n" +
                "  \"data\": {\n" +
                "    \"token\": \"test\"\n" +
                "  }\n" +
                "}";
    }

    @PostMapping("/auth/logout")
    public String index11366333333() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }


    @GetMapping("api/user")
    public String index113663333336() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/user/wallet")
    public String index1136633334336() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/version")
    public String index11366333343363() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/order")
    public String index113663333433636() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/order/sells")
    public String index1136633334336364() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/activity")
    public String index1136633334336366() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/messages")
    public String index11366333343363662() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/user/invite")
    public String index113663333433636662() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/user/invite/users")
    public String index1136633334336366662() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/market")
    public String index11366333343363666623() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/box/market")
    public String index113663333433636666263() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/user/box")
    public String index1136633334336366662636() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/user/albums")
    public String index11366333343363666626366() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }

    @GetMapping("api/user/work/show")
    public String index113663333433636666266366() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }


    @GetMapping("api/user/work")
    public String index1136633334336366662663666() {

        return "{\n" +
                "    \"name\": \"张三\",\n" +
                "    \"age\": 25,\n" +
                "    \"gender\": \"男\",\n" +
                "    \"email\": \"zhangsan@example.com\"\n" +
                "}";
    }


}